package org.csu.mybigpro.common;

import lombok.Getter;

@Getter
public enum ResponseCode {
    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR"),
    ILLEGAL_ARGUMENT(1001, "非法参数"); // 新增：用于表示非法参数错误
    private final int code;
    private final String desc;

    ResponseCode(int code,String desc)
    {
        this.code=code;
        this.desc=desc;
    }
}